package com.xyy.saas.payment.pojo.dto;

public class FrozenDto {
    /**
     * 构建对象
     */
    public static FrozenDto build(String businessOrderType, String accountId, String amount, String bizChannelOrderId) {
        FrozenDto frozenDto = new FrozenDto();
        frozenDto.setBusinessOrderType(businessOrderType);
        frozenDto.setAccountId(accountId);
        frozenDto.setBizChannelOrderId(bizChannelOrderId);
        frozenDto.setAmount(amount);
        return frozenDto;
    }

    private String businessOrderType;
    private String accountId;
    private String bizChannelOrderId;
    private String amount;
    private String currency = "CNY";

    public String getBusinessOrderType() {
        return businessOrderType;
    }

    public void setBusinessOrderType(String businessOrderType) {
        this.businessOrderType = businessOrderType;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getBizChannelOrderId() {
        return bizChannelOrderId;
    }

    public void setBizChannelOrderId(String bizChannelOrderId) {
        this.bizChannelOrderId = bizChannelOrderId;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }
}
